﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace InterfacesInstanceClustering
{
    public interface IKeywordFilter
    {
        /// <summary>
        /// The host which manages plugins
        /// </summary>
        IInstanceClusteringHost PluginHost { get; set; }
        /// <summary>
        /// The name of the plugin
        /// </summary>
        string PluginName { get; }
        /// <summary>
        /// The description of the plugin
        /// </summary>
        string PluginDescription { get; }
        /// <summary>
        /// The user control of the plugin
        /// </summary>
        UserControl PluginUserControl { get; }
        /// <summary>
        /// Initialize needed things for the plugin
        /// </summary>
        void Initialize();
        /// <summary>
        /// Dispose the plugin
        /// </summary>
        void PluginDispose();
        /// <summary>
        /// Check if @keyword is a desireable one
        /// </summary>
        /// <param name="keyword">The keyword to check</param>
        /// <returns>True if it is a desireble one, false otherwise</returns>
        bool IsDesirableKeyword(DTO.Keyword keyword);
    }
}
